package com.project_doctor.pojo.status;

public enum ServiceStatus {

    PENDING_REVIEW	(1, "待审核"), PENDING_SERVICE(2, "待服务"),
    REJECTED(3, "已驳回"), COMPLETED(5, "已完成"), CANCELED(6, "已取消");

    private Integer id;
    private String name;

    ServiceStatus(Integer key, String name) {
        this.id = key;
        this.name = name;
    }

    public Integer getKey() {
        return id;
    }

    public String getValue() {
        return name;
    }

}
